﻿using System;

namespace PlayWCF.Hello
{
    static class CalculatorUser
    {
        public static void Run()
        {
            using (CalculatorClient client = new CalculatorClient())
            {
                float x = 88;
                float y = 66;

                Console.WriteLine("add = {0}", client.Add(x, y));
                Console.WriteLine("substract = {0}", client.Substract(x, y));
                Console.WriteLine("multiple = {0}", client.Multiple(x, y));
                Console.WriteLine("divide = {0}", client.Divide(x, y));
            }//using
        }// Run
    }
}
